import javax.swing.JFrame;

import cultivameCore.motor.threads.InterfacesThread;
import cultivameCore.utils.ListaRefrescable;

import interfazUsuario.main.MainIU;
import utilsPc.listas.ListaRefrescablePc;


public class Main {

	/**
	 * @param args
	 */

	public static MainIU pantallaMain;	

	public static void main(String[] args) {
		// TODO Auto-generated method stub
	    
		pantallaMain=new MainIU(null);
		ListaRefrescable lrefresh=new ListaRefrescablePc();
		JFrame frame=new JFrame();
		frame.setMinimumSize(pantallaMain.getMinimumSize());
		frame.add(pantallaMain);
		frame.setVisible(true);
		lrefresh.add(pantallaMain);
		InterfacesThread it =new InterfacesThread(lrefresh);
		pantallaMain.setInterfacesThread(it);
		it.start();
	}

}
